package com.kevin.designpattern.visitor;

/**
 * 具体访问者角色
 */
public class Owner implements Person {
    @Override
    public void feed(Cat cat) {

        System.out.println("主人喂食");
    }

    @Override
    public void feed(Dog dog) {

        System.out.println("主人喂食");
    }
}
